package com.centit.framework.ip.allmodule.dao;

import java.util.HashMap;
import java.util.Map;
import com.centit.framework.core.dao.CodeBook;
import com.centit.framework.jdbc.dao.BaseDaoImpl;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import com.centit.framework.ip.allmodule.po.Models;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;



/**
 * ModelsDao  Repository.
 * create by scaffold 2018-07-08 
 * @author codefan@sina.com
 * 功能信息表功能信息表   
*/

@Repository
public class ModelsDao extends BaseDaoImpl<Models,String>
	{

	public static final Log log = LogFactory.getLog(ModelsDao.class);
	
	@Override
	public Map<String, String> getFilterField() {
		if( filterField == null){
			filterField = new HashMap<String, String>();

			filterField.put("recId" , CodeBook.EQUAL_HQL_ID);


			filterField.put("modelcode" , CodeBook.EQUAL_HQL_ID);

			filterField.put("modelname" , CodeBook.EQUAL_HQL_ID);

			filterField.put("modelclass" , CodeBook.EQUAL_HQL_ID);

			filterField.put("modelimgurl" , CodeBook.EQUAL_HQL_ID);

			filterField.put("orderno" , CodeBook.EQUAL_HQL_ID);

			filterField.put("dataValidFlag" , CodeBook.EQUAL_HQL_ID);

			filterField.put("insUserId" , CodeBook.EQUAL_HQL_ID);

			filterField.put("insTime" , CodeBook.EQUAL_HQL_ID);

			filterField.put("updUserId" , CodeBook.EQUAL_HQL_ID);

			filterField.put("updTime" , CodeBook.EQUAL_HQL_ID);

			filterField.put("delUserId" , CodeBook.EQUAL_HQL_ID);

			filterField.put("delTime" , CodeBook.EQUAL_HQL_ID);

		}
		return filterField;
	} 
}
